/*
 * Title:        CloudScheduler Toolkit
 * Description:  a Toolkit for Modeling and Simulation of Job Scheduling and Resource Provisioning in Cloud System
 * Licence:      GPL - http://www.gnu.org/copyleft/gpl.html
 * Author:       Fuhui Wu
 *
 * Copyright (c) 2013-2014, The National University of Defense Technology, China
 */

package org.nudt.jCloud.example.basic;

import java.util.HashMap;
import java.util.Map;

import org.nudt.jCloud.infrastructure.SlotType;

public class Test {

	public static void main(String[] args) {
		Map<SlotType, Integer> sl = new HashMap<SlotType, Integer>();
		SlotType slotType1 = new SlotType(2, 1000, 100, 10000);
		sl.put(slotType1, new Integer(5));
		SlotType slotType2 = new SlotType(2, 1000, 100, 10000);
		System.out.println(sl.get(slotType2));

	}

}
